package com.aisier.architecture.base

import com.aisier.architecture.util.getString
import com.zzq.my.jetpacks.base.R

/*
  * ================================================
  * 描述：基础的Ui接口类
  * 作者：zhuangzeqin
  * 时间: 2021/11/25-11:42
  * 邮箱：zzq@eeepay.cn
  * 备注:
  * ----------------------------------------------------------------
  * You never know what you can do until you try !
  *      _              _           _     _   ____  _             _ _
  *     / \   _ __   __| |_ __ ___ (_) __| | / ___|| |_ _   _  __| (_) ___
  *    / _ \ | '_ \ / _` | '__/ _ \| |/ _` | \___ \| __| | | |/ _` | |/ _ \
  *   / ___ \| | | | (_| | | | (_) | | (_| |  ___) | |_| |_| | (_| | | (_) |
  *  /_/   \_\_| |_|\__,_|_|  \___/|_|\__,_| |____/ \__|\__,_|\__,_|_|\___/
  *
  * 签名：最痛苦的事不是我失败了，而是我本可以.--zzq
  * ----------------------------------------------------------------
  * ================================================
  */
interface IUiView {
    /* ------注释说明--toast------ */
//    fun showMsg(msg:String?)
    /* ------注释说明--加载弹框------ */
    fun showLoading(msg:String= getString(R.string.loading_msg),cancelable:Boolean=false)
    /* ------注释说明--取消加载弹框------ */
    fun dismissLoading()
}